<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta content="IE=9" http-equiv="x-ua-compatible">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${goodsBrand.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">品牌名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${goodsBrand.name}" class="form-control" type="text" maxlength="30">
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">品牌网址：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="url" name="url" th:value="${goodsBrand.url}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->

							<div class="form-group">
								<label for="imgurl" class="col-sm-3 control-label">品牌logo：</label>

								<div class="col-sm-8">
									<div id="file_upload">

									</div>
									<div id="img" style="padding: 5px;">

										<img th:src="${goodsBrand.imgurl}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#imgurl').val('');$('#img').html('');"></i>

									</div>
									<input type="hidden" id="imgurl" name="imgurl" th:value="${goodsBrand.imgurl}" >
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">品牌logo：</label>-->
								<!--<div class="col-sm-8">-->
									<!--&lt;!&ndash;<input id="imgurl" name="imgurl" th:value="${goodsBrand.imgurl}" class="form-control" type="text">&ndash;&gt;-->
									<!--<img id="imgurl" name="imgurl" th:src="${goodsBrand.imgurl}" style="height: 60px;width: 60px">-->
								<!--</div>-->
							<!--</div>-->
														<div class="form-group">	
								<label class="col-sm-3 control-label">品牌介绍：</label>
								<div class="col-sm-8">
									<input id="note" name="note" th:value="${goodsBrand.note}" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/wx/goodsBrand/edit.js">
	</script>
</body>
</html>
